%ion-view#activities-page(view-title="教程" hide-nav-bar="true")
  %ion-header-bar.bar.bar-furion(align-title="center")
    %button.back-button(ng-click="goBack()")
    %h1.title 教程

  %ion-content
    %ion-refresher(pulling-text="下拉刷新..." on-refresh="refreshing()" refreshing-text="通信中")
    .text-center.margin-tb-5p(ng-if="!courses")
      %ion-spinner(icon="bubbles")

    #blank-page.text-center(ng-if="courses && courses.length == 0")
      #blank-content
        %img.width-50(src="img/nothing.png")
        %p.margin-top-20(style="font-size: 15px;")
          暂时还没有教程哦~

    .courses.card.relative-box(ng-repeat="l in courses" ng-click="goResource(l)")
      .item.activity-item
        %span(style="white-space: normal;") {{ l.title }}
      .item.item-image
        %img(ng-src="{{l.banner_url}}")

    .text-center.light-grey(ng-if="courses.length > 0")
      .oa-hint(ng-if="curPage < maxPage") 往上拉查看更多公告
      .oa-hint(ng-if="curPage >= maxPage") 没有更多公告咯
